﻿<?php
/**
 * 定义常量
 */
 include 'config.php';
$base='class base_Constant {';
foreach($config as $key=>$value)
{if(stristr($value,'false')){$value=false;}elseif(stristr($value,'true')){$value=true;}
	$base.='const '.$key.'="'.$value.'";';
}
$base.='}';
eval($base);
?>
